import { createApp } from 'vue'
// import './style.css'
import '@/styles/index.scss'

import App from './App.vue'
import ElementPlus from 'element-plus'

import 'element-plus/dist/index.css'
//@ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import globalComponents from '@/components'
//引入路由
import router from './router'
import pinia from './store'

const app = createApp(App);


app.use(ElementPlus, {
    locale: zhCn
})
app.use(globalComponents)
app.use(router)
app.use(pinia)
app.mount('#app')